@extends('User.header')

@section('content')
<div id="loginBox">
    @include('User.Tool.error')
    <h2>
    注册
    </h2>
    <form action="/home/user/regist" method="post">
        <input type="hidden" name="_token" value="{{ csrf_token() }}">
        <input type="text" class="form-control" name="username" placeholder="用户名">
        <input type="text" class="form-control" name="email" placeholder="邮箱">
        <input type="password" class="form-control" name="password" placeholder="用户密码">
        <input type="password" class="form-control" name="password_confirmation" placeholder="确认密码">
        <button type="submit" class="pri-btn">注&nbsp;&nbsp;&nbsp;&nbsp;册</button>
    </form>
</div>
@endsection

@section('scriptStyle')
    <script type="text/javascript">
        $(document).ready(function(){
            $("#close").click(function(){
                $(".container").hide();
            })
        });
    </script>
@endsection
